#include"tcpClient.hpp"
using namespace std;
static void Usage(string proc){
    cout<<"Usag :"<<proc <<"ser_ip ser_port"<<endl;
}

int main(int argc,char* argv[]){
    if(argc != 3){
        Usage(argv[0]);
        exit(1);
    }
    tcpClient tc(argv[1],atoi(argv[2]));
    tc.initClient();
    tc.start();
    return 0;
}
